<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<head>
<base href="<%=basePath%>"/>
<title>soda教育</title>
<link href="qiantai/css/style.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="qiantai/js/banner1.js"></script>
<link href="qiantai/css/single.css" type="text/css" rel="stylesheet" />
</head>

<body>
<iframe style="width:100%;height:236px" scrolling="no" frameborder="0" src="qiantai/header.jsp"></iframe>
<div class="content">
   
   <div class="clear"></div>
   <div class="buyDiv">
   
   	<div class="buyHeader">
   		<h1>我的课程</h1>
   		<div class="innerDiv" onclick="history.back()">返回</div>
   	</div>
   
   
   	<div class="buyBody">
    	<table class="buyTable"  cellpadding="0" cellspacing="0"> 

            <tr>
            	<th><input type="checkbox" /></th>
                <th>课程名称</th>
                <th>课程讲师</th>
                <th>课程类型</th>
                <th>课程简介</th>
            </tr>
            <c:forEach items="${course}" var="co">
            <tr>
            	<td><input type="checkbox" /></td>
                <td><a href="ShowQianTaiServletYu?meet=courseInfo&ci=${co.couId }" target="_top">${co.couName}</a></td>
                <td>${co.user.useName}</td>
                <c:if test="${co.couType==1}">
                <td>现场授课</td>
                </c:if>
                <c:if test="${co.couType==0}">
                <td>在线视频</td>
                </c:if>
                <td><p>${co.couRemark}</p></td>
            </tr>
            </c:forEach>
            
            
            
        <%--      <c:forEach items="${shouye}" var="sy">
            <tr>
            	<td><input type="checkbox" /></td>
                <td><a href="qiantai/courseInfo.jsp" target="_top">${sy.couName}</a></td>
                <td>${sy.user.useName}</td>
                <c:if test="${sy.couType==1}">
                <td>现场授课</td>
                </c:if>
                <c:if test="${sy.couType==0}">
                <td>在线视频</td>
                </c:if>
                <td><p>${sy.couRemark}</p></td>
            </tr>
            </c:forEach> --%>
        </table>
    </div>
   	
    <div class="buyFoot">
    	<div class="pageDiv">
    	<c:if test="${page.page!=1 }">
        	<a href="ShowQianTaiServletYu?meet=MyCourse&couname=${couName }&page=1">首页</a>&nbsp;&nbsp;
        	</c:if>
            <a href="ShowQianTaiServletYu?meet=MyCourse&couname=${couName }&page=${page.page-1}">上一页</a>&nbsp;&nbsp;
            <a href="ShowQianTaiServletYu?meet=MyCourse&couname=${couName }&page=${page.page+1}">下一页</a>&nbsp;&nbsp;
            <c:if test="${page.page!=page.lastPage }">
            <a href="ShowQianTaiServletYu?meet=MyCourse&couname=${couName }&page=${page.lastPage}">尾页</a>
            </c:if>
            <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
           	共${page.total}条数据&nbsp;&nbsp;
            当前第&nbsp;&nbsp;${page.page }&nbsp;&nbsp;页
            共&nbsp;${page.lastPage }&nbsp;页</span> 
        </div>
    </div>
   
   </div>
   <div class="clear"></div><!--清除浮动-->
</div><!--content end-->
<div class="footer">
   <ul>  
       <li class="li_left">地址：北京海淀区成府路**号</li>
       <li class="li_right">联系电话：010-82365636</li>
   </ul>
</div><!--footer end-->
<div style="display:none"><script src='http://v7.cnzz.com/stat.php?id=155540&web_id=155540' language='JavaScript' charset='gb2312'></script></div>
</body>
</html>